<template>
    <page-header-wrapper :title="false">
      <a-card>
        <a-tabs type="card">
          <a-tab-pane key="1" tab="全部退款">
          </a-tab-pane>
          <a-tab-pane key="2" tab="待审核">
          </a-tab-pane>
          <a-tab-pane key="3" tab="组审不过">
          </a-tab-pane>
          <a-tab-pane key="4" tab="组审通过">
          </a-tab-pane>
          <a-tab-pane key="5" tab="财审不过">
          </a-tab-pane>
          <a-tab-pane key="6" tab="财审通过">
          </a-tab-pane>
        </a-tabs>
        <div class="table-page-search-wrapper">
          <a-form-model :model="queryParam" layout="inline">
            <a-row :gutter="15">
              <a-col :md="4" :sm="24">
                <a-form-model-item>
                  <a-input v-model="queryParam.id" placeholder="输入合同编号"/>
                </a-form-model-item>
              </a-col>
              <a-col :md="8">
                <a-button type="primary">查询</a-button>
              </a-col>
            </a-row>
          </a-form-model>
        </div>
        <div class="contract_content">
          <s-table
            :columns="refundColumns"
            :data="refundData"
            bordered
          >
          <template slot="contract_status">
            <a-button type="primary" size="small">组审通过 <a-icon type="form" /></a-button>
          </template>
            <template slot="action">
            <a-button type="primary" size="small">查看</a-button>
          </template>
          </s-table>
        </div>
      </a-card>
    </page-header-wrapper>
</template>

<script>
  import { STable } from '@/components'
  import col from '@/columns/contract'
  const refundColumns = col.refund
  const refundData = () => {
    return []
  }

  export default {
    components: {
      STable
    },
    name: 'RefundList',
    data () {
      return {
        refundColumns,
        refundData,
        queryParam: {},
        advanced: false
      }
    },
    methods: {
      toggleAdvanced () {
        this.advanced = !this.advanced
      }
    }
  }
</script>

<style scoped>

</style>
